package org.dolphin.service;

import java.util.List;
import org.dolphin.base.bean.CustomerVO;
import org.dolphin.base.bean.FlatCustomerVO;
import org.dolphin.entity.customer.Customer;
import org.hibernate.criterion.Order;

public interface CustomerService {

  public void createCustomer(Customer customer);

  public Customer fetchCustomer(Long id);

  public CustomerVO getCustomer(Long id);

  public List<FlatCustomerVO> getCustomers(int page, int rows, List<Order> orders);

  public Long getCustomersCount();

  public void updateCustomer(Customer customer);
}
